Optimal. Leaf size=11 \[ \log (x+1)-\log (x+2) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {1586, 616, 31} \[ \log (x+1)-\log (x+2) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 616
Rule 1586
Rubi steps
\begin {align*} \int \frac {2-3 x+x^2}{4-5 x^2+x^4} \, dx &=\int \frac {1}{2+3 x+x^2} \, dx\\ &=\int \frac {1}{1+x} \, dx-\int \frac {1}{2+x} \, dx\\ &=\log (1+x)-\log (2+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 11, normalized size = 1.00 \[ \log (x+1)-\log (x+2) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.93, size = 11, normalized size = 1.00 \[ -\log \left (x + 2\right ) + \log \left (x + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.28, size = 13, normalized size = 1.18 \[ -\log \left ({\left | x + 2 \right |}\right ) + \log \left ({\left | x + 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 12, normalized size = 1.09 \[ -\ln \left (x +2\right )+\ln \left (x +1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 11, normalized size = 1.00 \[ -\log \left (x + 2\right ) + \log \left (x + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.08, size = 8, normalized size = 0.73 \[ -2\,\mathrm {atanh}\left (2\,x+3\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 8, normalized size = 0.73 \[ \log {\left (x + 1 \right )} - \log {\left (x + 2 \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________